actionbar: Add explicit center widget
authorTimm Bäder <mail@baedert.org>
Sat, 22 Apr 2017 18:18:17 +0000 (20:18 +0200)
committerTimm Bäder <mail@baedert.org>
Tue, 25 Apr 2017 18:30:37 +0000 (20:30 +0200)
commit066c1983ba2c6f1f891e600c561ab03eac2074a6
treeb3bd68d270eb6ade9f463f615ab7c4e92c59df2d
parentc92b7d4224b9cef1d08373fcc28f7fbd96c64e6d
actionbar: Add explicit center widget

The center widget in GtkBox was only introduced to use it in
GtkActionBar. However, the implementation there is much more complex
than it needs to be, so move the center widget into GtkActionBar instead
and later remove it from GtkBox.
gtk/Makefile.am
gtk/gtkactionbar.c
gtk/gtkcenterbox.c [new file with mode: 0644]
gtk/gtkcenterboxprivate.h [new file with mode: 0644]
tests/testactionbar.c